<template>
    <!--  <div>-->
    <div style="margin-top: -40px">
        <el-menu :default-active="this.$route.path" router class="el-menu-demo" mode="horizontal" @select="handleSelect"
            text-color="#545c64" active-text-color="#FF0000" >
            <el-menu-item index="/">首页</el-menu-item>
            <el-menu-item index="/Story">品牌故事</el-menu-item>
            <el-menu-item index="/SignDish">招牌美食</el-menu-item>
            <el-menu-item index="/TellUs">行业资讯</el-menu-item>
            <el-menu-item index="/TradeMsg">联系合作</el-menu-item>
        </el-menu>
        <div class="demo-image">
            <el-image :src="url" class="banner1"></el-image>
        </div>
    </div>

    <!--  </div>-->
</template>

<script>
export default {
    data() {
        return {
            activeIndex: '1',
            activeIndex2: '1',
            url: require("../assets/banner1.jpg")
        };
    },
    methods: {
        handleSelect(key, keyPath) {
            console.log(key, keyPath);
        }
    }
}
</script>

<style>
*{
    margin:0;
    padding:0;
    }
.el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 200px;
    margin: 0;
}

.el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
}

.tu {
    width: 500px;
    height: 500px;
}
.el-menu-demo{
   margin-left:800px ;
   font-family:"微软雅黑";
   font-size: 18px large;
}
.demo-image {
    margin: 0px 0px;
}
.banner1 {
    width: 100%;
    height: 300px;
}

</style>
